package com.pimee.web.demo;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.pimee.common.util.DateUtil;

import lombok.Data;

@Data
public class UserOperateModel {
	/** 更新时间 */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date updateTime;

	/** 搜索值 */
	private String searchValue;

	private int userId;

	private String userCode;

	private String userName;

	private String userSex;

	private String userPhone;

	private String userEmail;

	private double userBalance;

	private String status;

	private Date createTime;

	public UserOperateModel() {

	}

	public UserOperateModel(int userId, String userCode, String userName, String userSex, String userPhone,
			String userEmail, double userBalance, String status) {
		this.userId = userId;
		this.userCode = userCode;
		this.userName = userName;
		this.userSex = userSex;
		this.userPhone = userPhone;
		this.userEmail = userEmail;
		this.userBalance = userBalance;
		this.status = status;
		this.createTime = DateUtil.now();
	}

}